import request from '@/utils/request'

// 查询VIEW列表
export function listMydone(query) {
  return request({
    url: '/oa/mydone/list',
    method: 'get',
    params: query
  })
}

// 查询VIEW详细
export function getMydone(filetype) {
  return request({
    url: '/oa/mydone/' + filetype,
    method: 'get'
  })
}

// 导出VIEW
export function exportMydone(query) {
  return request({
    url: '/oa/mydone/export',
    method: 'get',
    params: query
  })
}
